﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace FONCREAGROINTEGRAL.Models
{
    [MetadataType(typeof(valDerechohabiente))]
    public partial class DERECHOHABIENTE
    {
        [Bind(Exclude = "IdDerechoHabiente")]
        public class valDerechohabiente
        {
            [Required(ErrorMessage = "* No ha Seleccionado Personal")]
            public object IdPersonal { get; set; }

            [Required(ErrorMessage = "* Ingrese Nombre")]
            public object Nombre { get; set; }

            [Required(ErrorMessage = "* Ingrese Apellido Paterno")]
            public object ApePaterno { get; set; }

            [Required(ErrorMessage = "* Ingrese Apellido Materno")]
            public object ApeMaterno { get; set; }
        }
    }
}